import request from '@/utils/request'
export function getMyApplication(data) {
  return request({
    url: 'api/taskManage/myApplication',
    method: 'post',
    data: data
  })
}

export function getMyToDoTasks(data) {
  return request({
    url: 'api/taskManage/myToDoTasks',
    method: 'post',
    data: data
  })
}
// 数据需求申请
export function getInteractDetail(spbh) {
  return request({
    url: `/api/interact/detail/${spbh}`,
    method: 'get'
  })
}

export function getApplicationDetail(id) {
  return request({
    url: `api/catalogUpperLower/applicationDetail/${id}`,
    method: 'get'
  })
}

export function getCompleteApp(data) {
  return request({
    url: 'api/catalogUpperLower/completeApp',
    method: 'post',
    data: data
  })
}

export function getCompleteSharingApp(data) {
  return request({
    url: 'api/sharingApp/completeSharingApp',
    method: 'post',
    data: data
  })
}

export function getAuditdemand(data) {
  return request({
    url: 'api/interact/auditdemand',
    method: 'post',
    data: data
  })
}

export function getExaminedb(data) {
  return request({
    url: 'api/supervision/examinedb',
    method: 'post',
    data: data
  })
}

export function getDatataskComplete(data) {
  return request({
    url: 'api/datatask/complete',
    method: 'post',
    data: data
  })
}

